package com.woniu.his.mms.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 草药处方记录表
 * </p>
 *
 * @author ZJH
 * @since 2022-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mms_herbal_prescription_record")
public class HerbalPrescriptionRecord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 状态 作废 DELETE 未缴费NOT_PAY 已缴费 PAID 已过期 EXPIRED 已完成 FINISH
     */
    private String herbalPrescriptionStatus;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 总金额
     */
    private BigDecimal amount;

    /**
     * 处方名称
     */
    private String herbalPrescriptionName;

    /**
     * 功能主治
     */
    private String therapy;

    /**
     * 疗效详情
     */
    private String therapyDetails;

    /**
     * 医嘱
     */
    private String medicalAdvice;

    /**
     * 付数
     */
    private Long pairNum;

    /**
     * 病历id
     */
    private Long caseHistoryId;

    /**
     * 账单id
     */
    private Long billId;

    /**
     * 用药频率
     */
    private Integer frequency;

    /**
     * 用法
     */
    private String usageMeans;

    /**
     * 类型 普诊 NORMAL 专家 SPECIAL
     */
    private String type;

    /**
     * 创建人员id
     */
    private Long createStaffId;


}
